
package com.md.entity;

import java.util.Date;

/**
* ********************************************************
* @ClassName: TestNew
* @Description: 
* @author 自动生成
* @date 2018-06-28 上午 10:19:03 
*******************************************************
*/
@javax.persistence.Entity(name = "TestNew")
@javax.persistence.Table(name = "test_new")
public class TestNew {

	private Integer id;		//
	private String name;		//
	private String value;		//
	private Integer version;		//

	@javax.persistence.Id
	@javax.persistence.Column(name = "id") 
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@javax.persistence.Column(name = "name") 
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@javax.persistence.Column(name = "value") 
	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	@javax.persistence.Version
	@javax.persistence.Column(name = "version") 
	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

}

